<?php
/**
 * Skeleton Template for Joomla Components
 * Copyright (C) 2009 Think Network GmbH, Munich - All rights reserved.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
 *
 * The "GNU General Public License" (GPL) is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * -----------------------------------------------------------------------------
 * $Id: skeleton.php 1344 2009-06-18 11:50:09Z akede $
 * @package skeleton
 * @subpackage skeleton
 *
*/

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();

jimport('joomla.html.pane');

JLoader::import( 'views.default.view',SKELETON_ADMINPATH);

/**
 * HTML View class for the WebLinks component
 *
 * @static
 * @package		Joom!Fish
 * @subpackage	Views
 * @since 1.0
 */
class CPanelViewCPanel extends SkeletonViewDefault
{
	/**
	 * Control Panel display function
	 *
	 * @param template $tpl
	 */
	function display($tpl = null)
	{
		
		$document =& JFactory::getDocument();
		$document->setTitle(JText::_('Skeleton') .' :: '.JText::_('Control Panel'));
		
		// Set toolbar items for the page
		JToolBarHelper::title( JText::_('Skeleton') .' :: '. JText::_( 'Control Panel' ), 'controlpanel' );
		JToolBarHelper::preferences('com_skeleton', '580', '750');
		JToolBarHelper::help( 'screen.cpanel', true);

		JSubMenuHelper::addEntry(JText::_('Control Panel'), 'index2.php?option=com_skeleton', true);
						
		JHTML::_('behavior.tooltip');
		parent::display($tpl);
	}
}
